/**
 * @author CH_ywx
 * @date 2023-06-08
 * @description Java多线程
 */
public class Test01 {
    public static void main(String[] args) {
        Thread thread = new Thread(() -> {
            for (int i = 0; i < 100000; i++) {
                System.out.println("thread:"+i);
            }
        });
        Thread thread1 = new Thread(() -> {
            for (int i = 0; i < 100000; i++) {
                System.out.println("thread1:"+i);
            }
        });
        thread.start();
        thread1.start();
    }
}
